package moxl.relaxng.schema.nameclasses;

import moxl.dom.QualifiedName;
import moxl.relaxng.schema.NameClass;

public class Name implements NameClass
{
	private final QualifiedName name;

	public Name(QualifiedName name)
	{
		this.name = name;
	}

	public boolean contains(QualifiedName qName)
	{
		return name.equals(qName);
	}

}
